<include file="../header" />
<body class="J_scroll_fixed">
<script>

    $(document).ready(function() {

        $('button.viewJoin').click(function () {

            var id = $(this).attr("id");
            layer.open({

                type: 2,
                title: '报名记录查看',
                maxmin: false,
                shadeClose: true, //点击遮罩关闭层
                area: ['70%', '98%'],
                content: "{:U('activity/viewJoin')}&id="+id

            });
        });

    });

</script>

<div class="wrap J_check_wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('level/index')}">等级信息</a></li>
        <li><a href="{:U('level/add')}">添加等级</a></li>
    </ul>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>编号</th>
            <th>名称</th>
            <th>星级</th>
            <th>价格</th>
            <th>服务费</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="levelList" item="vo">
            <tr>
                <td>{$vo.level_id}</td>
                <td>{$vo.level_name}</td>
                <td>{$vo.star_number}</td>
                <td>{$vo.price}元</td>
                <td>{$vo.service_charge}元</td>
                <td>{$vo.create_time}</td>
                <td>
                    <a href='{:U("level/edit",array("id"=>$vo["level_id"]))}'>修改</a>
                    <a class="J_ajax_del" href="{:U('level/delete',array('id'=>$vo['level_id']))}">删除</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>